<?php
/**
 *
 * Created by PhpStorm
 * Date: 2023/2/13
 * Time: 14:03
 * docs:
 */


use Hhz\Scheduler\Job;
use Hhz\Scheduler\WorkFlow;

ini_set('display_errors', 1);
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING ^ E_DEPRECATED);
ini_set('memory_limit', '1024M');

require_once '/data/wwwroot/g_vendor/autoload.php';


// $b  = Job::startJob('be-schedulerx-biz', '916678','test');
// var_dump($b);die;


//  $workFlow  = Job::createJob('be-schedulerx-biz','测试任务','test1', 'test2');
//  var_dump($workFlow);die;

 $delete = Job::deleteJob('be-schedulerx-biz',[1022205] );
var_dump($delete);die;

// $a  = Job::updateJob('be-schedulerx-biz', '916678','test');
// var_dump($a);die;